<%-- 
    Document   : gohome
    Created on : Dec 6, 2011, 2:14:17 AM
    Author     : Michael
--%>
<% if(session.getAttribute("LoggedIn")==null)
       {
    response.sendRedirect("index.html");
    return;
        }

%>
<%  
    if(session.getAttribute("Access").equals("Customer"))
        response.sendRedirect("profile.jsp");
    else if(session.getAttribute("Access").equals("CustomerRep")||session.getAttribute("Access").equals("Manager"))
        response.sendRedirect("employee.jsp");
    else
        response.sendRedirect("logout.jsp");
%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>